const { DataTypes } = require('sequelize')
const db = require('../db/index')
module.exports = db.define('userdatas', {
    username: {
        type: DataTypes.CHAR(255)
    },
    password: {
        type: DataTypes.CHAR(255)
    },
    img: {
        type: DataTypes.CHAR(255)
    },
    name: {
        type: DataTypes.CHAR(255)
    },
    openid: {
        type: DataTypes.CHAR(255)
    }
}, {
    timestamps: true,
})